Next | Prev | Up | Top | Contents | Index
Compile Options for Loadable Drivers
Use the -G 0 option when compiling and linking a loadable driver, since the global option table is not available to a loadable driver (see "Compile Options, 32-Bit Kernel" and "Compile Options, 64-Bit Kernel").
In a loadable driver, link using the -r and -d options to retain the symbol table yet generate a bss segment.
Next | Prev | Up | Top | Contents | Index